//1.利用指针变量将一个数组中的数据反向输出
#include<stdio.h>
#define N 8
int main()
{
	int a[8] = {1,2,3,4,5,6,7,8};
	int* p = a;
	p = p + (N-1);
	printf("反向输出：");
	for(; p >= a; p--)
	{
		printf("%3d",*p);
	}
	printf("\n");
	return 0;
}
